<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>

<html>
	<head>
		<title></title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	</head>
	<body>
		<h1>Validation</h1>
		<s:fielderror/>
		<s:form action="doValidation">
			<table>
				<tr>
					<td>requiredStringValidation:</td>
					<td><s:textfield name="myObject.requiredStringValidation"/></td>
				</tr>
				<tr>
					<td>stringlengthValidation:</td>
					<td><s:textfield name="myObject.stringlengthValidation"/></td>
				</tr>
				<tr>
					<td>intValidation:</td>
					<td><s:textfield name="myObject.intValidation"/></td>
				</tr>
				<tr>
					<td>doubleValidation:</td>
					<td><s:textfield name="myObject.doubleValidation"/></td>
				</tr>
				<tr>
					<td>dateValidation:</td>(01-01-01)
					<td><s:textfield name="myObject.dateValidation"/></td>
				</tr>
				<tr>
					<td>emailValidation:</td>
					<td><s:textfield name="myObject.emailValidation"/></td>
				</tr>
				<tr>
					<td>regexValidation:</td>
					<td><s:textfield name="myObject.regexValidation"/></td>
				</tr>
				<tr>
					<td>expressionValidation:???</td>
					<td><s:textfield name="myObject.expressionValidation"/></td>
				</tr>
				<tr>
					<td>fieldexpression:???</td>
					<td>
						<s:textfield name="myObject.fieldexpression"/>
						<s:textfield name="myObject.fieldexpression1"/>
						<s:textfield name="myObject.fieldexpression2"/>
					</td>
				</tr>
			</table>
			<s:submit/>
		</s:form>
	</body>
</html>
